$OpenBSD: patch-src_GNS3_Config_Defaults_py,v 1.6 2015/05/01 09:16:51 ajacoutot Exp $
--- src/GNS3/Config/Defaults.py.orig	Tue Jul  8 04:28:58 2014
+++ src/GNS3/Config/Defaults.py	Fri May  1 11:09:44 2015
@@ -48,7 +48,7 @@ if sys.platform.startswith('darwin'):
 elif sys.platform.startswith('win'):
     BASECONFIG_DIR = ''
 else:
-    BASECONFIG_DIR = '/usr/local/share/examples/gns3/'
+    BASECONFIG_DIR = '${PREFIX}/share/examples/gns3/'
 
 # Default path to qemuwrapper
 if sys.platform.startswith('win'):
@@ -63,7 +63,7 @@ else:
     elif platform.system() == 'Linux':
         QEMUWRAPPER_DEFAULT_PATH = unicode("/usr/share/gns3/qemuwrapper.py")
     else:
-        QEMUWRAPPER_DEFAULT_PATH = unicode("/usr/local/libexec/gns3/qemuwrapper.py")
+        QEMUWRAPPER_DEFAULT_PATH = unicode("${PREFIX}/libexec/gns3/qemuwrapper.py")
 
 # Default path to qemuwrapper working directory
 if os.environ.has_key("TEMP"):
@@ -87,7 +87,7 @@ elif sys.platform.startswith('darwin') and hasattr(sys
         QEMU_IMG_DEFAULT_PATH = os.getcwdu() + os.sep + '../Resources/Qemu-0.11.0/bin/qemu-img'
 else:
     QEMU_IMG_DEFAULT_PATH = unicode('qemu-img')
-    QEMU_DEFAULT_PATH = unicode('qemu')
+    QEMU_DEFAULT_PATH = unicode('qemu-i386')
 
 # Default path to vboxwrapper
 if sys.platform.startswith('win'):
@@ -102,7 +102,7 @@ else:
     elif platform.system() == 'Linux':
         VBOXWRAPPER_DEFAULT_PATH = unicode("/usr/share/gns3/vboxwrapper.py")
     else:
-        VBOXWRAPPER_DEFAULT_PATH = unicode("/usr/local/libexec/gns3/vboxwrapper.py")
+        VBOXWRAPPER_DEFAULT_PATH = unicode("${PREFIX}/libexec/gns3/vboxwrapper.py")
 
 # Default path to vboxwrapper working directory
 if os.environ.has_key("TEMP"):
